<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .a{
            height: 60px;
        }
        .b{
            height: 60px;
            width: 800px;
            float: left;
        }  
        .b ul{margin-left: 30px;}  
        .b li{
            float: left;
            line-height: 60px;
            margin-right: 30px;
            list-style: none;
        }
        .b a{
            text-align: center;
            color: black;
            font-size: 13px;
            text-decoration: none;
        }
        .b a:hover{
            cursor: pointer;
            color: royalblue;
            list-style: none;
        }
        .c{
            float: right;
            height: 60px;
            width: 140px;
        }
        .c li{
            float: left;
            line-height: 60px;
            margin-right: 27px;
            list-style: none;
        }
        .c a{
            background-color: royalblue;
            color: white;
            outline: none;
            height: 47px;
            width: 24px;
            border-radius: 5px;
            line-height: 60px;
            text-decoration: none;
        }
        .c a:hover{
            background-color: blue;
            border-radius: 5px;
            color: white;
         }
         .d{
             height: 480px;
             width: 700px;
             margin: 0px auto 50px auto;
         }
         .e{
             height: 350px;
             width: 700px;
             margin: 0px auto;
             margin-bottom: 10px;
         }
         .f{
             text-align: center;
             margin-bottom: 40px;
             height: 45px;
             width: 655px;
             border-radius: 8px;
             border: 2px solid royalblue;
         }
         .g{
             float: left;
             border: none;
             outline: none;
             height: 45px;
             border-top-left-radius: 8px;
             border-bottom-left-radius: 8px;
         }
         .h{
             height: 45px;
             background-color: royalblue;
             color: white;
             outline: none;
             border: none;
             border-top-right-radius: 8px;
             border-bottom-right-radius: 8px;
         }
         .h:hover{
             background-color: rgb(73, 73, 161);
             color: white;
             cursor: pointer;
             float: right;
             outline: none;
             border: none;
             border-top-right-radius: 8px;
             border-bottom-right-radius: 8px;
         }
         .i{
             width: 650px;
             height: 105px;
             margin-bottom: 10px;
             text-align: center;
             margin-top: 10px;
         }
         .j{
             height:80px;
             width: 655px;
         }
         .j ol{
             height: 80px;
             width: 655px;
             margin-left: 20px;
         }
         .j li{
             float: left;
             height: 15px;
             width: 250px;
             margin-top: 15px;
         }
         .j a{
             text-decoration: none;
             color: black; 
             float: left;
             font-size: 14px;
         }
         .k{
             margin-bottom: 10px;
             height: 25px;
             width: 655px;
         }
         .l{
             height: 14px;
         }
         .l li{
             float: left;
             font-size: 7px;
             margin-left: 20px;
             list-style: none;
             color: rgb(148, 148, 148);
         }
         .l li:hover{
             color: black;
             float: left;
         }
         .l a{
             text-decoration: none;
             color: rgb(148, 148, 148);
         }
    </style>
</head>
<body>
    <div class="a">
        <div class="b">
            <ul>
                <li><a href="#">新闻</a></li>
                <li><a href="#">hao123</a></li>
                <li><a href="#">地图</a></li>
                <li><a href="#">直播</a></li>
                <li><a href="#">视频</a></li>
                <li><a href="#">贴吧</a></li>
                <li><a href="#">学术</a></li>
                <li><a href="#">更多</a></li>
            </ul>
        </div>
        <div class="c">
            <ul>
                <li><p style="font-size: 13px;">设置</p></li>
                <li><a href="#">登录</a></li>
            </ul>
        </div>
    </div>
    <div class="d">
        <div class="e">
            <a href="#"><p style="text-align: center;"><img src="baidu.png" height="130" alt="" style="text-align: center;"></p></a>
            <form class="f">
                <input type="text" class="g" style="width: 540px;">
                <input type="submit" value="百度一下" class="h" style="width: 115px;">
            </form>
            <div class="i">
                <div class="k">
                    <span style="float: left; font-size: 15px;">百度热搜</span>
                    <span  style="float: right; font-size: 15px;">换一换</span><img src="h.jpg" alt="" style="float: right;" height="19px">
                </div>
                <div class="j">
                    <ol>
                        <li style="margin-right: 100px;"><a href="#">外交部：太平洋不是日本的下水道<img src="r.jpg" height="19px" alt="" style="line-height: 19px;"></a></li>
                        <li><a href="#">美舰跟踪监视辽宁舰 国台办回应</a></li>
                        <li style="margin-right: 100px;"><a href="#">美国禁止日本食品进入</a></li>
                        <li><a href="#">31省份新增确诊12例 其中本土1例</a></li>
                        <li style="margin-right: 100px;"><a href="#">印度超两百万人聚集恒河沐浴</a></li>
                        <li><a href="#">瑞典环保少女态度含糊回应日本事件</a></li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
    <div class="l">
        <ul style="height: 50px; margin-left: 100px;">
            <li><a href="#">设为首页</a></li>
            <li><a href="#">关于百度</a></li>
            <li><a href="#">About Bdaidu</a></li>
            <li><a href="#">百度营销</a></li>
            <li><a href="#">使用百度前必读</a></li>
            <li><a href="#">意见反馈</a></li>
            <li><a href="#">帮助中心</a></li>
            <li><a href="#">京公网安备11000002000001号</a></li>
            <li><a href="#">京ICP证030173号</a></li>
            <li>©2021 Baidu</li>
            <li>(京)-经营性-2017-0020</li>
        </ul>
    </div>
</body>
</html>